﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wt.wine.Domain.Entities;

namespace wt.wine.Application.Common.Interfaces
{
    /// <summary>
    /// 角色权限配置表
    /// </summary>
    public interface IMenuTableRepository
    {
        /// <summary>
        /// 通过角色id获取角色权限
        /// </summary>
        /// <param name="roleid"></param>
        /// <param name="isRedisKey"></param>
        /// <param name="cancellationtoken"></param>
        /// <returns></returns>
        Task<List<menutable>> GetMenuTableList(int roleid, int isRedisKey, CancellationToken cancellationtoken);

    }
}
